<template>
  <div>
    <el-card class="!border-none mt-4" shadow="never">
      <el-table class="mt-4" size="large" :data="dataList">
        <el-table-column label="名称" prop="name" min-width="100" />
        <el-table-column label="地址" prop="address" min-width="100" />
        <el-table-column label="订单金额" prop="orderAmount" min-width="100" />
        <el-table-column label="手机号码" prop="mobile" min-width="100" />
        <el-table-column label="修改时间" prop="updateTime" min-width="100" />
      </el-table>
      <!-- <div class="flex justify-end mt-4">
        <pagination v-model="pager" @change="getLists" />
      </div> -->
    </el-card>
  </div>
</template>

<script lang="ts" setup>
import { getstaffwater } from "@/api/finance/staffwater";
const dataList = reactive([{ name: 1 }]);
const getCenterData = async () => {
  const res = await getstaffwater("");
  console.log(res, "res");
  dataList = res.lists;
  console.log(dataList, "dataList");
};
getCenterData();
</script>

<style lang="scss" scoped></style>
